// 公共表格样式
.ss__table {
  font-size: 14px !important;
  border: 1px solid #b9ddfa !important;

  .has-gutter {
    line-height: 31px;

    tr {
      background: #b9ddfa !important;

      th {
        background: #b9ddfa !important;
        color: #333333;
      }
    }
  }

  .is-leaf {
    padding: 4px 0 !important;
  }

  .split {
    color: #dcdee0;
  }

  .el-table__row {
    td {
      padding: 2px 0 !important;
      line-height: 32px;

      div {
        line-height: unset;
      }
    }
  }

  // 固定表格的样式
  .ss__table__set_column {
    background: #b9ddfa !important;
    color: #333333;
    border-bottom: none !important;
    margin-top: 5px;
  }


  .table__set {
    box-sizing: border-box;

    a {
      border-right: 1px solid #666;
      height: 14px;
      line-height: 14px;
      display: inline-block;
      padding: 0 8px 0 5px;
      cursor: pointer;
      color: #409eff
    }

    a:first-child {
      padding-left: 0px;
    }

    a:last-child {
      //padding-left: 5px;
      border-right: none;
    }


  }


}

// portlet-tab 标签页
.ss__tab__portlet {
  padding: 0 10px 10px;
  background: #fff;
  position: relative;

  .title {
    //border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

    .tab {
      .ss_tabs {
        position: relative;

        .ss__tabs__item {
          padding: 0 15px;
          height: 40px;
          box-sizing: border-box;
          line-height: 40px;
          display: inline-block;
          list-style: none;
          font-size: 15px;
          font-weight: 500;
          color: #303133;
          position: relative;
          cursor: pointer;
          //border-bottom: 4px solid #E4E7ED;
        }

        .ss__tabs__item:hover {
          border-bottom: 4px solid #9fe4ea;
        }

        .ss_tabs__active {
          font-weight: 700;
          font-size: 15px;
          border-bottom: 4px solid #ed6b75 !important;
          color: #666 !important;
        }
      }

      .ss-tabs__active-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        background-color: #ed6b75;
        z-index: 2;
        //transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        list-style: none;
      }
    }
  }

  .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #E4E7ED;
    z-index: 1;
  }

  .caption {
    line-height: 34px;
    font-size: 16px;
    font-weight: 700;
    float: left;
    display: inline-block;
  }

  .action {
    float: right;
    display: inline-block;
  }

}

//portlet
.ss__portlet {
  padding: 10px;
  background: #fff;

  .title {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    min-height: 40px;
  }


  .caption {

    line-height: 34px;
    font-size: 16px;
    font-weight: 700;
    float: left;
    display: inline-block;
  }

  .action {
    float: right;
    display: inline-block;
  }

  .search {
    padding: 10px;
    background: #f8f8f8;
    border: 1px solid #f2f2f2;
    margin-bottom: 10px;
  }


}

.footer {
  text-align: center;
  padding: 20px 0;

  p {
    color: #999;
    font-size: 12px;
    margin-top: 10px;
  }
}


//标签页search
// 未在PortletTab Portlet组件中加这样式，请在使用 Portlet 且有search栏处加个这个类名
.ss__portlet__search {
  padding: 10px;
  background: #f8f8f8;
  border: 1px solid #f2f2f2;
  margin-bottom: 10px;
}

// 卡片 可拖拽的
.ss__card {
  // 固定了弹窗的位置
  position: absolute;
  left: 40vw;
  top: 36vh;

  min-width: 300px;

  .ss__card__header {
    color: #fff;
    border: none;
    background: #30323d;
    padding: 10px 20px;
    cursor: move;
    position: relative;

    .clearfix {
      display: flex;
      justify-content: space-between;

      .ss__card__close {
        position: absolute;
        right: 12px;
        top: 13px;
        color: #fff;
        cursor: pointer !important;
      }
    }


  }

  .ss__card__body {
    color: #fff;
    background: #30323d;
    padding: 0 20px 20px 20px;

    /deep/ .el-tabs__nav-scroll::after {
      background-color: #202129 !important;
    }
  }

  ///deep/ .el-button--default {
  //  background: #404352;
  //  color: #fff;
  //  border: none;
  //}
}

// 卡片 自定义tab 可拖拽的
.ss__tab__card {
  position: absolute;
  left: 40vw;
  top: 36vh;

  min-width: 300px;

  .ss__card__header {
    color: #fff;
    border: none;
    background: #30323d;
    padding: 6px 10px 10px;
    cursor: move;
    position: relative;

    .chacha {
      font-size: 12px;
      color: #fff;
    }

    /deep/ .el-tabs__item {
      color: #7b7c83 !important;
      font-size: 16px;
    }

    /deep/ .is-active {
      color: #c3c3c6 !important;
    }

    /deep/ .el-tabs__active-bar {

      background-color: #fff;
    }

    /deep/ .el-tabs__nav-wrap::after {
      height: 1px;
      background-color: #000 !important;

    }

  }

  .ss__tab__card__body {
    color: #fff;
    background: #30323d;
    padding: 0 20px 20px 20px;

    /deep/ .el-tabs__nav-scroll::after {
      background-color: #202129 !important;
    }
  }
}
